package pe.edu.claretiano.admisionmatricula.admision.serviceimpl;

import pe.edu.claretiano.admisionmatricula.admision.dao.PostulanteDao;
import pe.edu.claretiano.admisionmatricula.admision.daoimpl.PostulanteDaoImpl;
import pe.edu.claretiano.admisionmatricula.admision.service.PostulanteService;
import pe.edu.claretiano.admisionmatricula.bean.Postulante;

public class PostulanteServiceImpl implements PostulanteService {
	
private PostulanteDao dao;
	
	public PostulanteServiceImpl(){
		dao = new PostulanteDaoImpl();
	}

	@Override
	public Integer insertarPostulante(Postulante objPostulante) {
		
		return dao.insertarPostulante(objPostulante);
	}

	@Override
	public Postulante obtenerPostulante(Postulante objPostulante) {
		// TODO Auto-generated method stub
		return dao.obtenerPostulante(objPostulante);
	}

}
